/*
 * Copyright (c) 2022-2022 All rights Reserved.
 */

package com.driving.core.service;

import java.util.Map;

import com.driving.core.base.IBasePersonService;
import com.driving.core.entity.Admin;
import com.driving.core.service.dto.AdminDTO;
import com.driving.core.service.dto.CoachDTO;
import com.driving.core.service.dto.SchoolDTO;

/**
 * 管理员服务
 *
 * @author SAGITTAR
 * @since 2017
 */
public interface IAdminService extends IBasePersonService<Admin, AdminDTO> {

    /**
     * 管理员添加驾校
     *
     * @param schoolDTO schoolDTO
     * @return 管理员添加驾校
     */
    Map<String, Object> addSchool(SchoolDTO schoolDTO);

    /**
     * 管理员添加教练
     *
     * @param coachDTO coachDTO
     * @return 管理员添加教练
     */
    Map<String, Object> addCoach(CoachDTO coachDTO);
}
